import Vue from 'vue'
import Router from 'vue-router'

//引用views
import Default from '@/views/default'

import safeEvaluate from '@/views/fire-monitor/safe-evaluate'
import dangerLog from '@/views/fire-monitor/danger-log'

import hazardLog from '@/views/combat-command/hazard-log'
import equipmentList from '@/views/combat-command/equipment-list'

import polEducation from '@/views/political/political-education'
import polNews from '@/views/political/political-news'
import polForum from '@/views/political/political-forum'

import effPersonal from '@/views/efficiency-evaluate/personal'
import effGroup from '@/views/efficiency-evaluate/group'

import riskAbnormal from '@/views/risk-control/abnormal'
import riskTimeliness from '@/views/risk-control/timeliness'
import riskLegal from '@/views/risk-control/legal'

import problemsLog from '@/views/problems-log/log'

import ds_WholeScopeAnalysis from '@/views/data-statics/whole-scope-analysis/Container'
import ds_StaffRespondJob from '@/views/data-statics/staff-respond-job/Container'
import ds_SIS from '@/views/data-statics/SIS/Container'
import ds_MainbodyResponseAnalysis from '@/views/data-statics/mainbody-response-analysis/Container'
import ds_InstituteSafetyLevel from '@/views/data-statics/institute-safety-level/Container'
import ds_IllegalBehaviorAnalysis from '@/views/data-statics/illegal-behavior-analysis/Container'
import ds_HighDangerousChemistry from '@/views/data-statics/high-dangerous-chemistry/Container'
import ds_FireRedblackRank from '@/views/data-statics/fire-redblack-rank/Container'
import ds_FireAttentionIndex from '@/views/data-statics/fire-attention-index/Container'
import ds_EmploymentStaffAnalysis from '@/views/data-statics/employment-staff-analysis/Container'
import ds_DangerCorrectiveList from '@/views/data-statics/danger-corrective-list/Container'
import ds_CameraVideoAnalysis from '@/views/data-statics/camera-video-analysis/Container'
import ds_BuildingFirealarmForecast from '@/views/data-statics/building-firealarm-forecast/Container'


Vue.use(Router)


export default new Router({
  routes: [
    {
      path: '/',
      name: 'Default',
      component: safeEvaluate,
      chnName:'安全评估分析',
      belongsTo:'FireMonitor'
    },
    {
      path:'/fire-monitor/safe-evaluate',
      name:'SafeEvaluate',
      component:safeEvaluate,
      chnName:'安全评估分析',
      belongsTo:'FireMonitor'
    },{
      path:'/fire-monitor/danger-log',
      name:'DangerLog',
      component:dangerLog,
      chnName:'隐患消息中心',
      belongsTo:'FireMonitor'
    },{
      path:'/combat-command/hazard-log',
      name:'HazardLog',
      component:hazardLog,
      chnName:'查看警情记录',
      belongsTo:'CombatCommand'
    },{
      path:'/combat-command/equipment-list',
      name:'EquipmentList',
      component:equipmentList,
      chnName:'队站装备清单',
      belongsTo:'CombatCommand'
    },{
      path:'/political/education',
      name:'Education',
      component:polEducation,
      chnName:'政治教育情况',
      belongsTo:'Political'
    },{
      path:'/political/news',
      name:'News',
      component:polNews,
      chnName:'党政要闻情况',
      belongsTo:'Political'
    },{
      path:'/political/forum',
      name:'Forum',
      component:polForum,
      chnName:'论坛活跃情况',
      belongsTo:'Political'
    },{
      path:'/eff/personal',
      name:'Personal',
      component:effPersonal,
      chnName:'效能评估报告',
      belongsTo:'Eff'
    },{
      path:'/eff/group',
      name:'Group',
      component:effGroup,
      chnName:'部位评估',
      belongsTo:'Eff'
    },{
      path:'/risk-control/abnormal',
      name:'Abnormal',
      component:riskAbnormal,
      chnName:'异常性风险',
      belongsTo:'RiskControl'
    },{
      path:'/risk-control/timeliness',
      name:'Timeliness',
      component:riskTimeliness,
      chnName:'时效性风险',
      belongsTo:'RiskControl'
    },{
      path:'/risk-control/legal',
      name:'Legal',
      component:riskLegal,
      chnName:'合规性风险',
      belongsTo:'RiskControl'
    },{
      path:'/problems-log/log',
      name:'Log',
      component:problemsLog,
      chnName:'问题记录',
      belongsTo:'ProblemsLog'
    },

    {
      path:'/data-statics/whole-scope-analysis',
      name:'ds_WholeScopeAnalysis',
      component:ds_WholeScopeAnalysis,
      chnName:'整体研判',
      belongsTo:'DataStatics'
    },{
      path:'/data-statics/staff-respond-job',
      name:'ds_StaffRespondJob',
      component:ds_StaffRespondJob,
      chnName:'消防责任人员履职',
      belongsTo:'DataStatics'
    },{
      path:'/data-statics/SIS',
      name:'ds_SIS',
      component:ds_SIS,
      chnName:'安全指标体系评估',
      belongsTo:'DataStatics'
    },{
      path:'/data-statics/mainbody-response-analysis',
      name:'ds_MainbodyResponseAnalysis',
      component:ds_MainbodyResponseAnalysis,
      chnName:'消防主体责任落实',
      belongsTo:'DataStatics'
    },{
      path:'/data-statics/institute-safety-level',
      name:'ds_InstituteSafetyLevel',
      component:ds_InstituteSafetyLevel,
      chnName:'消防设施安全等级',
      belongsTo:'DataStatics'
    },{
      path:'/data-statics/illegal-behavior-analysis',
      name:'ds_IllegalBehaviorAnalysis',
      component:ds_IllegalBehaviorAnalysis,
      chnName:'消防违法行为分析',
      belongsTo:'DataStatics'
    },{
      path:'/data-statics/high-dangerous-chemistry',
      name:'ds_HighDangerousChemistry',
      component:ds_HighDangerousChemistry,
      chnName:'易燃易爆化学品管控',
      belongsTo:'DataStatics'
    },{
      path:'/data-statics/fire-redblack-rank',
      name:'ds_FireRedblackRank',
      component:ds_FireRedblackRank,
      chnName:'消防红黑榜',
      belongsTo:'DataStatics'
    },{
      path:'/data-statics/fire-attention-index',
      name:'ds_FireAttentionIndex',
      component:ds_FireAttentionIndex,
      chnName:'社会消防关注指数',
      belongsTo:'DataStatics'
    },{
      path:'/data-statics/employment-staff-analysis',
      name:'ds_EmploymentStaffAnalysis',
      component:ds_EmploymentStaffAnalysis,
      chnName:'消防单位从业人员',
      belongsTo:'DataStatics'
    },{
      path:'/data-statics/danger-corrective-list',
      name:'ds_DangerCorrectiveList',
      component:ds_DangerCorrectiveList,
      chnName:'安全隐患整改清单',
      belongsTo:'DataStatics'
    },{
      path:'/data-statics/camera-video-analysis',
      name:'ds_DangerCorrectiveList',
      component:ds_CameraVideoAnalysis,
      chnName:'视频监控在线分析',
      belongsTo:'DataStatics'
    },{
      path:'/data-statics/building-firealarm-forecast',
      name:'ds_BuildingFirealarmForecast',
      component:ds_BuildingFirealarmForecast,
      chnName:'建筑火灾预测',
      belongsTo:'DataStatics'
    }
  ]
})
